package cn.edu.hcnu.service;


import cn.edu.hcnu.domain.User;

import java.util.List;

/**
 * @ClassName StudentService
 * @Description TODO
 * @Author liang
 * @Date 2023/6/13 17:43
 * @Version 1.0
 **/

public interface UserService {
    List<User> getAll();

    User getUserById(Integer id);

    User addUser(User user);


    User updateUser(User user);

    Integer deleteUser(Integer id);

    List<User> findByName(String name);

}
